<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table>
    <thead>
    <tr>
        <th>id</th>
        <th>name</th>
        <th>remark</th>
        <th>createdTime</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="list: ${list}">
        <td th:text="${list.id}">10</td>
        <td th:text="${list.name}">AAA</td>
        <td th:text="${list.remark}"></td>
        <td th:text="${#dates.format(list.createdTime, 'yyyy/MM/dd
         HH:mm')}">2020/10/11</td>
    </tr>
    </tbody>
</table>
</body>
</html>